<template>
    <div>
         <input type="button" :value="inputValue" @click='btnclick' class="btn"/>
    </div>
</template>

<script>
export default {
    props:["inputValue"],
    methods:{
        btnclick(){
            this.$emit('clicked')
        }
    }
}
</script>

<style lang="less" scoped>
  .btn {
          width: 320/360*100vw;
          height: 40/360*100vw;
          margin-left: 20/360 * 100vw;
          margin-top: 30/360*100vw;
          background-color: #cc3300;
          outline: none;
          color: #fff;
          border: transparent;
          border-radius: 10/360*100vw;
          font-size: 14/360*100vw;
      }
</style>>

</style>